﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Web_Info.ascx.cs" Inherits="AdminPortal_Controls_HeThong_Web_Info" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Register src="../Toolbox.ascx" tagname="Toolbox" tagprefix="uc1" %>
<%@ Register src="../FileUpload.ascx" tagname="FileUpload" tagprefix="uc2" %>
<div id="HNGdatagrid">
    <div class="header-datagrid">
        <span class="icon-edit header-text">
                <asp:Label ID="lblTitle" runat="server" Text="Thông tin website"></asp:Label>
        </span>
    </div>
    <div class="navibar-control">
            <uc1:Toolbox ID="Toolbox1" runat="server" ShowApply="true" OnApplyClick="btnApply_Click"/>        
        <div class="clearB"></div>
    </div>
    <div class="content-main"> 
        <div id="bb" class="easyui-tabs" style="width:auto;height:auto;border-top:1px solid #99bbe8;">  
            <div title="Chi tiết" style="padding:5px;">  
                <asp:Label ID="lblError" runat="server" Text="" CssClass="lblError"></asp:Label>
                 <table width="100%" cellspacing="0" cellpadding="0" class="tableEditInfo">
                          <tr>
                            <td class="itemTableLeft" width="120" >Tên website : </td>
                            <td class="itemTableRight">
                                <asp:TextBox ID="txtName" runat="server" CssClass="BannerInput" 
                                    Width="600px"></asp:TextBox>              
                            </td>
                          </tr>
                          <tr>
                            <td class="itemTableLeft">Tiêu đề web:</td>
                            <td class="itemTableRight">
                             <asp:TextBox ID="txttitle" runat="server" CssClass="BannerInput" 
                                    Height="100px" TextMode="MultiLine" Width="600px" 
                                    ></asp:TextBox>  
                              </td>
                          </tr>                         
                          <tr>
                            <td class="itemTableLeft">Giới thiệu text</td>
                            <td class="itemTableRight">
                             <asp:TextBox ID="txtIntro" runat="server" CssClass="BannerInput" Height="50px" 
                                    TextMode="MultiLine" Width="600px" 
                                    ></asp:TextBox>  
                                     </td>
                          </tr>
                          <tr>
                            <td class="itemTableLeft">Trang giới thiệu</td>
                            <td class="itemTableRight">
                             <hng:FCKeditor ID="fckGioiThieu" runat="server" BasePath = "~/AdminPortal/fckeditor/" Width = "100%" Height = "250" ToolbarSet="Default">
                                    </hng:FCKeditor> 
                                     </td>
                          </tr>
                          <tr>
                            <td class="itemTableLeft" valign="top">Thông tin liên hệ:</td>
                            <td class="itemTableRight">
                                    <hng:FCKeditor ID="fckContactInfo" runat="server" BasePath = "~/AdminPortal/fckeditor/" Width = "100%" Height = "250" ToolbarSet="Default">
                                    </hng:FCKeditor>  </td>
                          </tr>
                          <tr>
                            <td class="itemTableLeft" valign="top">Support text:</td>
                            <td class="itemTableRight">
                                    <hng:FCKeditor ID="fckSupport" runat="server" BasePath = "~/AdminPortal/fckeditor/" Width = "100%" Height = "250" ToolbarSet="Default">
                                    </hng:FCKeditor>  </td>
                          </tr>
                          <tr>
                                <td class="itemTableLeft" valign="top">Footer:</td>
                                <td class="itemTableRight">
                                         <hng:FCKeditor ID="fckFooter" runat="server" BasePath = "~/AdminPortal/fckeditor/" Width = "100%" Height = "250" ToolbarSet="Default">
                                        </hng:FCKeditor>
                                 </td>
                          </tr>
                  </table>
            </div>  
            <div title="Banner & logo" style="padding:5px;" runat="server" id="tabitem2">  
                <table cellpadding="0" cellspacing="0" width="100%" class="tableEditInfo">
                    <tr>
                            <td class="itemTableLeft">Logo:</td>
                            <td class="itemTableRight">
                              <uc2:FileUpload ID="FileUpload1" runat="server" UploadFolder="~/upload/WebInfo/"
                                ShowFileInfor="false" PreviewImage="true" />
                              <asp:Image ID="img_logo" runat="server" Width="40" ImageAlign="Bottom" ImageUrl="~/AdminPortal/images/icon/no_image.jpg" /> 
                               &nbsp;<asp:ImageButton ID="imgbtn_Delete" runat="server" Width="16" Height="16" 
                                    onclick="imgbtn_Delete_Click" ToolTip="xoá ảnh" /><asp:Label ID="lblDelete" runat="server" Text="xoá ảnh"/>
                                </td>
                          </tr>
                             <tr>
                            <td class="itemTableLeft">logo link:</td>
                            <td class="itemTableRight">
                             <asp:TextBox ID="txtLnkLogo" runat="server" CssClass="BannerInput" Width="600px" 
                                    ></asp:TextBox>  
                                     </td>
                          </tr>
                </table>
            </div>
            <div title="Cấu hình seo" style="padding:5px;" runat="server" id="tabitem4">  
                 <table cellpadding="0" cellspacing="0" width="100%" class="tableEditInfo">
                        <tr>
                            <td width="120" class="itemTableLeft">Meta Keyword</td>
                            <td class="itemTableRight">
                                <asp:TextBox ID="txtMetakeyword" runat="server" Width="550px" Height="100" TextMode="MultiLine"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td width="120" class="itemTableLeft">Meta Description</td>
                            <td class="itemTableRight">
                                <asp:TextBox ID="txtMetaDescription" runat="server" Width="550px" Height="100" TextMode="MultiLine"></asp:TextBox>
                            </td>
                        </tr>
                </table> 
            </div>      
        </div>               
    </div>
</div>